﻿Interface ISketch
    ''' <summary>
    ''' 在地图上画几何对象，主要用户要闪烁显示某一个对象时，采用不断的用不同颜色重画此对象实现。
    ''' </summary>
    ''' <param name="shape">几何对象</param>
    ''' <param name="size">大小</param>
    ''' <param name="color">颜色</param>
    ''' <remarks></remarks>
    Sub DrawShape(ByVal shape As Object, ByVal size As Long, ByVal color As Long)

    ''' <summary>
    ''' 在地图GraphicsLayer上画标注
    ''' </summary>
    ''' <param name="point">标注所在位置</param>
    ''' <param name="text">标注内容</param>
    ''' <remarks></remarks>
    Sub DrawText(ByVal point As Object, ByVal text As String)

    ''' <summary>
    ''' 在制定的绘图层drawLayer上用bmp图片绘制点符号，并加标注，该函数功能主要用于列车追踪
    ''' </summary>
    ''' <param name="drawLayer">层名</param>
    ''' <param name="point">点</param>
    ''' <param name="text">需要标注的文字</param>
    ''' <param name="bmp">bmp文件路径</param>
    ''' <remarks></remarks>
    Sub DrawPoint(ByVal drawLayer As String, ByVal point As Object, ByVal text As String, ByVal bmp As String)

    ''' <summary>
    ''' 绘制点图层标注
    ''' </summary>
    ''' <param name="layerName">图层名</param>
    ''' <remarks></remarks>
    Sub DrawLabel(ByVal layerName As String)

    ''' <summary>
    ''' 在drawSketch层上绘制草图，可以是点、线、面
    ''' </summary>
    ''' <param name="shape">草图几何对象</param>
    ''' <remarks></remarks>
    Sub DrawSketch(ByVal shape As Object)

    ''' <summary>
    ''' 在drawSketch层上绘制草图，为标注
    ''' </summary>
    ''' <param name="mapX">地图x坐标</param>
    ''' <param name="mapY">地图y坐标</param>
    ''' <param name="text">标注内容</param>
    ''' <remarks></remarks>
    Sub DrawSketch(ByVal mapX As Double, ByVal mapY As Double, ByVal text As String)

   

    ''' <summary>
    ''' 清除某一层上的草图
    ''' </summary>
    ''' <param name="drawLayer">草图层名</param>
    ''' <remarks></remarks>
    Sub CleanDraw(ByVal drawLayer As String)

End Interface

